pull: Push a temporary main context for sync requests
authorMatthew Barnes <mbarnes@redhat.com>
Sat, 14 Nov 2015 01:37:13 +0000 (20:37 -0500)
committerMatthew Barnes <mbarnes@redhat.com>
Mon, 14 Dec 2015 16:11:34 +0000 (11:11 -0500)
commitf0b143ca8ac689818a1fe4b1960a16b82a68a843
tree7272eadc18fb5616fe0008def27b10c7e098f2fa
parent54066420cf1d2f7aed7817c6f94758cc70752fc4
pull: Push a temporary main context for sync requests

Given the previous commit, which isolates SoupSession in a separate
thread, it should be safe to start pushing a temporary main context
for synchronous requests again.

This partially reverts 84fe2ff, which partially reverted 9f3d586.

Related to https://bugzilla.gnome.org/show_bug.cgi?id=753336
src/libostree/ostree-fetcher.c
src/libostree/ostree-metalink.c